package com.demo.mqtt.common.constants;

/**
 * @program: mqtt
 * @description: 主题
 * @author: liuYunKai
 * @create: 2021-03-25 16:37
 */
public interface TopictConstants {

    /**
     * 发布给硬件的主题
     */
    //通用应答
    String SUB_NARMAL_ACK = "/subscribe/normal_ack";
    String SUB_SET_OBJ_PARAM = "/subscribe/set_obj_param";


    //订阅硬件的主题
    String SUB_TOPIC = "/publish/#";
    /**
     * 订阅硬件的主题
     */
    String PUB_FEATURES_DATAS = "/publish/features_datas";
    String PUB_WAVES_DATAS = "/publish/waves_datas";
    String PUB_OBJ_PARAM_ACK = "/publish/obj_param_ack";
    String PUB_GW_PARAM_ACK = "/publish/gw_param_ack";
    String PUB_NORMAL_ACK = "/publish/normal_ack";
    String PUB_HEART_BEAT = "/publish/heart_beat";
}
